import request from '@/utils/request'

// 查询出入库明细列表
export function listMdOutTaskDetails(query) {
  return request({
    url: '/meter/mdOutTaskDetails/list',
    method: 'get',
    params: query
  })
}

// 查询出入库明细详细
export function getMdOutTaskDetails(outTaskDetailsId) {
  return request({
    url: '/meter/mdOutTaskDetails/' + outTaskDetailsId,
    method: 'get'
  })
}

// 新增出入库明细
export function addMdOutTaskDetails(data) {
  return request({
    url: '/meter/mdOutTaskDetails',
    method: 'post',
    data: data
  })
}

// 修改出入库明细
export function updateMdOutTaskDetails(data) {
  return request({
    url: '/meter/mdOutTaskDetails',
    method: 'put',
    data: data
  })
}

// 删除出入库明细
export function delMdOutTaskDetails(outTaskDetailsId) {
  return request({
    url: '/meter/mdOutTaskDetails/' + outTaskDetailsId,
    method: 'delete'
  })
}
